package origin.db.po;

/**
 * Mail entity. @author MyEclipse Persistence Tools
 */

public class Mail implements java.io.Serializable {

	// Fields

	private int id;
	private User userBySender;
	private User userByReceiver;

	// Constructors

	/** default constructor */
	public Mail() {
	}

	/** minimal constructor */
	public Mail(int id) {
		this.id = id;
	}

	/** full constructor */
	public Mail(int id, User userBySender, User userByReceiver) {
		this.id = id;
		this.userBySender = userBySender;
		this.userByReceiver = userByReceiver;
	}

	// Property accessors

	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public User getUserBySender() {
		return this.userBySender;
	}

	public void setUserBySender(User userBySender) {
		this.userBySender = userBySender;
	}

	public User getUserByReceiver() {
		return this.userByReceiver;
	}

	public void setUserByReceiver(User userByReceiver) {
		this.userByReceiver = userByReceiver;
	}

}